package poo.Exceptions;

public class CreditNonAutorise extends Exception{

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private double somme;
   
    public CreditNonAutorise(String message, double versement){
            super(message);
            this.somme = versement;
    }
   
    public double getVersementMinimum(){
            return this.somme;
    }
   
}